package cn.cmvideo.springboot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import reactor.core.publisher.Mono;

@RestController
public class HelloController
{
	@GetMapping(name="/hello")
	public Mono<String> hello()
	{
		return Mono.just("Welcome to reactive world ~");
	}
}
